[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
NEWLINE
Function
Set the new line after prompt flag in an INPUTSTR, PROMPTSTR, or DISPTEXT
statement.
Value
64 = 1000000b = 100o = 40h
Remarks
The INPUTSTR, PROMPTSTR, and DISPTEXT statements have the ability to
send a carriage return/line feed after a prompt is displayed
automatically and without the need to make a separate call to NEWLINE.
Example
STRING pwd
INPUTSTR "Enter id",pwd,@X0E,4,"0123456789",LFBEFORE+NEWLINE+LFAFTER
IF (pwd <> "1234") PRINTLN "Bad id"
See Also:
DISPTEXT
INPUTSTR
LFAFTER
LFBEFORE
PROMPTSTR
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson